package cn.maxwell.order.service;

import cn.maxwell.basic.service.IBaseService;
import cn.maxwell.basic.util.PageList;
import cn.maxwell.order.domain.OrderPetAcquisition;
import cn.maxwell.order.dto.OrderDto;
import cn.maxwell.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface IOrderPetAcquisitionServer extends IBaseService<OrderPetAcquisition> {

    PageList<OrderPetAcquisition> queryPage(@RequestBody OrderPetAcquisitionQuery query, HttpServletRequest request);

    void confirm(OrderDto orderDto);

    void cancel(Long id);
}
